package com.platform.system.service;

import com.platform.common.core.domain.AjaxResult;
import com.platform.common.core.page.TableDataInfo;
import com.platform.system.domain.dto.device.ChatBackgroundMusicDto;
import com.platform.system.domain.vo.device.ChatBackgroundMusicVo;

/**
 * @author Huangkai
 */
public interface ISysChatBackgroundMusicService {

    /**
     * 查询聊天背景音乐列表
     * @param chatBackgroundMusicVo
     * @return
     */
    TableDataInfo selectChatBackgroundMusicList(ChatBackgroundMusicVo chatBackgroundMusicVo);
    /**
     * 插入聊天背景信息
     * @param chatBackgroundMusicVo
     * @return
     */
    AjaxResult insertChatBackgroundMusic(ChatBackgroundMusicVo chatBackgroundMusicVo);

    /**
     * 查询详情
     * @param uid
     * @return
     */
    ChatBackgroundMusicDto selectChatBackgroundMusic(String uid);
    /**
     * 修改
     * @param chatBackgroundMusicVo
     * @return
     */
    AjaxResult updateChatBackgroundMusic(ChatBackgroundMusicVo chatBackgroundMusicVo);

    /**
     * 删除
     * @param chatBackgroundMusicVo
     * @return
     */
    AjaxResult deleteChatBackgroundMusic(ChatBackgroundMusicVo chatBackgroundMusicVo);

    /**
     * 根据styleUid获取数量
     * @param styleUid
     * @return
     */
    Long selectChatBackgroundMusicCountByStyleUid(String styleUid);

}
